window.onload = function () {
    var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), { sheetCount: 1 });
    initSpread(spread);
};

async function initSpread(spread) {

    spread.suspendPaint();
    const res = await fetch('https://cdn.grapecity.com.cn/spreadjs/report-samples/SAD.ssjson');
    await spread.fromJSON(await res.json());
    spread.resumePaint();
}